package com.clinic.dao;

import com.clinic.entity.Mylog;
import com.clinic.entity.MylogExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MylogDao {
    int countByExample(Mylog example);

    int deleteByExample(MylogExample example);

    int deleteByPrimaryKey(Integer logId);

    int insert(Mylog record);

    int insertSelective(Mylog record);

    List<Mylog> selectByExample(MylogExample example);

    Mylog selectByPrimaryKey(Integer logId);

    int updateByExampleSelective(@Param("record") Mylog record, @Param("example") MylogExample example);

    int updateByExample(@Param("record") Mylog record, @Param("example") MylogExample example);

    int updateByPrimaryKeySelective(Mylog record);

    int updateByPrimaryKey(Mylog record);
}